package com.qf.Listener.Direct;

import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

@Component
public class testDirectLis03 {
    @RabbitListener(queues = {"direct-queue"})
    public void consum(String message){
        System.out.println("key+++++++++++++++"+message);
    }
}
